﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using SharpArch.Domain.DomainModel;

namespace LERP.Domain
{
    public class GoodsCategory :Dictionary 
    {
        /// <summary>
        /// 路径
        /// </summary>  
        [StringLength(100, ErrorMessage = "{0}取值长度{1}~{2}个字符", MinimumLength = 0)]
        public virtual string Paths { get; set; }
        /// <summary>
        /// 父级商品
        /// </summary>  
        public virtual GoodsCategory Parent { get; set; }
    }
}
